<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>vue</title>
        <!-- 引入vue文件-->
		<script src="https://cdn.bootcss.com/vue/2.2.2/vue.min.js"></script>
	</head>
	<body>
		<div id="vue">
			<p>单选框</p>
			<input type="checkbox" id="checkbox" v-model="checked" />
			<label for="checkbox">{{checked}}</label>
			<p>复选框</p>
			<input type="checkbox" id="pengle" value="彭乐"  v-model="checkboxs" />
			<label for="pengle">彭乐</label>
			<input type="checkbox" id="laogong" value="龚志成" v-model="checkboxs" />
			<label for="laogong">龚志成</label>
			<input type="checkbox" id="houzheng" v-model="checkboxs" />
			<label for="houzheng">侯征</label>
		</div>
		<script>
			new Vue({
				el:'#vue',
				data:{
					checked:true,
					checkboxs:[]
				}
			})
		</script>
	</body>
</html>
